<template>
  <div class="profile-container">
    <h1>骑手信息</h1>
    
    <el-card class="profile-card">
      <el-form :model="riderInfo" label-width="120px">
        <el-form-item label="姓名">
          <el-input v-model="riderInfo.name"></el-input>
        </el-form-item>
        <el-form-item label="电话">
          <el-input v-model="riderInfo.phone"></el-input>
        </el-form-item>
        <el-form-item label="身份证号">
          <el-input v-model="riderInfo.idNumber"></el-input>
        </el-form-item>
        <el-form-item label="交通工具">
          <el-select v-model="riderInfo.vehicleType" placeholder="请选择交通工具">
            <el-option label="自行车" value="bicycle"></el-option>
            <el-option label="电动车" value="scooter"></el-option>
            <el-option label="摩托车" value="motorcycle"></el-option>
          </el-select>
        </el-form-item>
        <el-form-item>
          <el-button type="primary">保存</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'RiderProfile',
  data() {
    return {
      riderInfo: {
        name: '',
        phone: '',
        idNumber: '',
        vehicleType: ''
      }
    }
  },
  created() {
    // Load rider profile
    console.log('Loading rider profile')
  },
  methods: {
    // Methods will be added later
  }
}
</script>

<style scoped>
.profile-container {
  padding: 20px;
}
.profile-card {
  margin-top: 20px;
}
</style> 